﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Carroit.Web.admin
{
    public partial class _lock : System.Web.UI.Page
    {
        protected string curAdminName = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            //进入这个页面后 , 将用户登录状态设置为登出状态 , 需要重新登录才可以使用
            if (Evan.Member.Administrator.IsAdminLogin())
            {
                Evan.Member.Administrator.AdminLock();
            }
            else
            {
                Response.Redirect("login.aspx");
            }

        }
    }
}